package com.yunxin.core.application.dto.channel;

import com.yunxin.core.application.dto.product.ProductMoreSimpleInfoDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author zero°
 * @date 2023-12-11
 */
@Data
@Schema(description = "渠道弹窗信息对象")
public class ChannelPopupDTO implements Serializable {

    /**
     * 产品id
     */
    @Schema(description = "产品id")
    private Long productId;

    /**
     * 产品名称
     */
    @Schema(description = "产品名称")
    private String productName;

    /**
     * 产品图片
     */
    @Schema(description = "产品图片")
    private String productImage;

    /**
     * 产品solGan
     */
    @Schema(description = "产品solGan")
    private String productSolGan;

    /**
     * 产品标签
     */
    @Schema(description = "产品标签")
    private List<String> productLabeling;

    /**
     * 跳转链接
     */
    @Schema(description = "跳转链接")
    private String jumpUrl;


    /**
     * uv联登产品个人授权协议
     */
    @Schema(hidden = true)
    private String userProtocol;

    /**
     * uv联登产品个人授权协议
     */
    @Schema(description = "uv联登产品个人授权协议")
    private List<userProtocol> userProtocolList;

    @Data
    public static class userProtocol implements Serializable {

        /**
         * uv联登产品个人授权协议名称
         */
        private String name;

        /**
         * uv联登产品个人授权协议地址
         */
        private String url;
    }

}
